<template>
	<view class="healthy">
		<view class="h1">
			<view>健康得分</view>
			<view class="num">67</view>
			<view>身体状况良好</view>
		</view>
		<view class="h2">
			<view class="v2-2">
				健康报告
			</view>
			<view>
				<text class="v2-2-t1">改进膳食结构，均衡营养;摒弃不良生活习惯,戒烟限酒;合理安排生活工作,劳逸结合;制定定期疗养计划,避免长期超负荷工作;乐观向上，积极应对生活和工作压力;</text>
			</view>
		</view>
		<view class="v3">
			<view class="v3-1">
				<view>心率（次）</view>
				<view>80</view>
				<view><text class="vb">正常</text></view>
			</view>
			<view class="view"></view>
			<view class="v3-1">
				<view>血压（mmHg）</view>
				<view>120/80</view>
				<view><text class="vy">偏高</text></view>
			</view>
			<view class="view"></view>
			<view class="v3-2">
				<view>血糖（mmol）</view>
				<view>12</view>
				<view><text class="vb">正常</text></view>
			</view>
			<view class="v3-1">
				<view>血氧（%）</view>
				<view>86</view>
				<view><text class="vb">正常</text></view>
			</view>
			<view class="view"></view>
			<view class="v3-1">
				<view>血脂（mmol）</view>
				<view>3.8</view>
				<view><text class="vy">偏高</text></view>
			</view>
			<view class="view"></view>
			<view class="v3-2">
				<view>膳食（cal）</view>
				<view>600</view>
				<view><text class="vb">正常</text></view>
			</view>
		</view>
		<view class="v4">
			<view class="v4-h">周步数统计</view>
			<view class="v4-2">
				<view class="v4-2-1">
					<view class="v4-num n1">1973</view>
					<view class="v4-text">周均步数</view>
				</view>
				<view class="view"></view>
				<view class="v4-2-1">
					<view class="v4-num n2">1.25</view>
					<view class="v4-text">周均距离/公里</view>
				</view>
				<view class="view"></view>
				<view class="v4-2-2">
					<view class="v4-num n3">71</view>
					<view class="v4-text">周均消耗/大卡</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
</script>

<style lang="less" scoped>
	.healthy {
		.h1 {
			background: #3774ec;
			color: white;
			text-align: center;
			height: 280rpx;

			view {

				margin-bottom: 15rpx;
			}

			.num {
				font-size: 100rpx;
				font-weight: 600;
			}
		}

		.h2 {
			display: flex;
			padding-top: 15rpx;
			padding-bottom: 15rpx;
			border-bottom: 1px solid #ddd;

			.v2-2 {
				width: 200rpx;
				margin: 30rpx;
				padding: 9rpx 11rpx;
				color: white;
				background: #3374ec;
			}
		}

		.v3 {
			margin-top: 20rpx;
			display: flex;
			justify-content: space-around;
			flex-wrap: wrap;

			.v3-1,
			.v3-2 {
				display: flex;
				justify-content: center;
				flex-direction: column;
				width: 220rpx;
				text-align: center;
				margin: 40rpx 10rpx;
			}

			.vb {
				display: inline-block;
				width: 120rpx;
				background: #3374ec;
				color: white;
				border-radius: 20rpx;
			}

			.vy {
				display: inline-block;
				width: 120rpx;
				background: #FFC448;
				color: white;
				border-radius: 20rpx;
			}

			.vr {
				display: inline-block;
				width: 120rpx;
				background: #C32B2B;
				color: white;
				border-radius: 20rpx;
			}
		}

		.v4 {
			margin-top: 20rpx;

			.v4-h {
				text-align: center;
			}

			.v4-2 {
				display: flex;
				justify-content: space-around;
				flex-wrap: wrap;
				background: #f9f9f9;
				margin-top: 40rpx;
				margin-left: 20rpx;
				margin-right: 20rpx;
				.v4-2-1,
				.v4-2-2 {
					display: flex;
					justify-content: center;
					flex-direction: column;
					width: 210rpx;
					text-align: center;
					margin: 40rpx 10rpx;
				}

				.v4-num {
					font-size: 40rpx;
				}

				.v4-text {
					font-size: 24rpx;
				}
			}
		}

		.view {
			width: 1px;
			height: 70px;
			margin-top: 10rpx;
			background: #ddd;
		}

		.n1 {
			color: #3374ec;
		}

		.n2 {
			color: #FFC448;
		}

		.n3 {
			color: #C32B2B;
		}
		.v2-2-t1{
			font-size: 27rpx;
		}
	}
</style>
